﻿<template v-for="item in list">
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">{{item.title}}</label>
        <div class="layui-input-block">
            <textarea v-if="item.type=='area'" :id="item.id" :name="item.name" class="layui-input" style="height:200px;" v-model="item.value"></textarea>
            <input v-else :id="item.id" :name="item.name" v-on:type="item.type" class="layui-input" :placeholder="item.placeholder" v-model="item.value" />
        </div>
    </div>
</template>
